<div ng-init="dvm.init()">
  <div class="modal-header">
    <button type="button" class="close" ng-click="dvm.close()">&times;</button>
    <h4 class="modal-title">接口令牌</h4>
  </div>
  <div class="modal-body">
    <p>令牌：
      <b ng-if="dvm.token">{{dvm.token}}</b>
      <b ng-if="!dvm.token">&lt;您还没有接口令牌，请点击刷新！&gt;</b>
    </p>
  </div>
  <div class="modal-footer">
    <button id="copy-token" type="button" class="btn btn-default" ng-disabled="!dvm.token">
      <i class="fa fa-copy"></i> 复制</button>
    <button type="button" class="btn btn-default" ng-click="dvm.refresh()" autofocus>
      <i class="fa fa-refresh"></i> 刷新</button>
    <button type="button" class="btn btn-default" ng-click="dvm.close()">
      <i class="fa fa-times"></i> 关闭</button>
  </div>
</div>
